package gov.jyy.operationlog.core;


import java.util.Date;

public class LogContent {

    /**
     * 事项id
     */
    private String sxsqjbxxId;

    /**
     * 方法
     */
    private String method;

    /**
     * 参数
     */
    private String args;

    /**
     * 访问者ip
     */
    private String ip;

    /**
     * 异常
     */
    private String exception;

    /**
     * 操作者id
     */
    private String userId;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * OperationType枚举
     */
    private String operationType;

    /**
     * 操作内容
     */
    private String content;

    public String getSxsqjbxxId() {
        return sxsqjbxxId;
    }

    public void setSxsqjbxxId(String sxsqjbxxId) {
        this.sxsqjbxxId = sxsqjbxxId;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getArgs() {
        return args;
    }

    public void setArgs(String args) {
        this.args = args;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getException() {
        return exception;
    }

    public void setException(String exception) {
        this.exception = exception;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "LogContent{" +
                "sxsqjbxxId='" + sxsqjbxxId + '\'' +
                ", method='" + method + '\'' +
                ", args='" + args + '\'' +
                ", ip='" + ip + '\'' +
                ", exception='" + exception + '\'' +
                ", userId='" + userId + '\'' +
                ", createdTime=" + createdTime +
                ", operationType='" + operationType + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
